<%--
  Created by IntelliJ IDEA.
  User: 陶昱全
  Date: 2021/11/19
  Time: 11:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8">
    <title>创建一个新的班级</title>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.js"></script>
    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">

    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css" integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">

    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js" integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd" crossorigin="anonymous"></script>

    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>

    <link rel="stylesheet" type="text/css" href="../static/css/teacherSystem.css"/>


</head>
<body>
<div class="container-fluid">
    <div class="container con1">
        <div class="row rown">
            <div class="col-md-10">
                <div class="col-md-12">
                    <img src="../static/img/16353973302582117.png" class="img-rounded" />
                    <h1>
                        <span>作业管理系统</span>
                    </h1>
                </div>
            </div>
            <div class="col-md-2">
                <div class="col-md-12">
                    <a  class="btn woff" href="${pageContext.request.contextPath}/hms/teaLogout">注销</a>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="container">
    <div class="row" style="margin-bottom: 150px;">
        <div class="col-md-12">
            <div class="row">
                <div class="col-md-2">
                </div>
                <div class="col-md-8">
                    <form id="cz" action="${pageContext.request.contextPath}/hms/addClazz" method="post">
                        <fieldset>
                            <legend contenteditable="true">创建一个新的班级</legend>
                            <p>班级名称</p>
                            <p><input name="cname" placeholder="请输入班级名称(少于20字)..." type="text" v-model="clazz1"><span style="margin-left: 15px;color: brown;">{{clazz1}}</span></p>
                            <p>简单介绍</p>
                            <p><input name="particulars" placeholder="请输入班级简介(少于20字)..." type="text" v-model="clazz2"><span style="margin-left: 15px;color: brown;">{{clazz2}}</span></p>
                            <hr>
                            <button class="btn" type="submit">提交</button>
                            <a style="margin-left: 40px;" class="btn" href="${pageContext.request.contextPath}/hms/teacherSystem1">取消</a>
                        </fieldset>
                    </form>
                </div>
                <div class="col-md-2">
                </div>
            </div>
        </div>
    </div>
</div>
<script>
    new Vue({
        el: "#cz",
        data: {
            clazz1: "",
            clazz2: "",
        },
    })
</script>
</body>
</html>
